package com.example.bysj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author chuanyuzhou
 * @since 2022-05-09
 */
@Getter
@Setter
  @TableName("prisoner")
@ApiModel(value = "Prisoner对象", description = "")
public class Prisoner implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("id")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("犯人名字")
      private String name;

      @ApiModelProperty("性别")
      private String sex;

      @ApiModelProperty("电话")
      private String phone;

      @ApiModelProperty("籍贯")
      private String home;

      @ApiModelProperty("犯罪前科类型")
      private String type;

      @ApiModelProperty("目前动向")
      private String doing;

      @ApiModelProperty("所处位置")
      private String location;

      @ApiModelProperty("创建时间")
      private LocalDateTime createTime;


}
